package com.ziyun.pop.modules.storeMaterials.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author ZhaoWei
 * @Date 2018/10/09 10:40
 * @Version V1.0
 *
 * 门店调拨出库表
 */
@Getter
@Setter
@TableName("store_material_out")
public class StorematerialinOutEntity implements Serializable{

	private static final long serialVersionUID = -7152227131239904939L;

	//自增id
	@TableId(type = IdType.AUTO)
	private Integer outId;

	//单据号
	private String outNo;

	//含税总金额
	private BigDecimal totalMoney;

	//是否含税:1.是,0.否
	private Integer tax;

	//出库仓库id
	private Integer stockId;

	//库存交易类型:4.销售出库,5.盘亏,6.生产消耗,8.调拨出库
	private Integer type;

	//单据状态：1.待审核2.已出库3.已驳回
	private Integer status;

	//备注
	private String remark;

	//创建人
	private String createName;

	//创建时间
	private Date createTime;

	//审核人
	private String checkName;

	//审核时间
	private Date checkTime;

	// 出库名称
	@TableField(exist = false)
	private String stockName;

}
